﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace VFCons
{
	public partial class IPPortSite : UserControl
	{
		public IPPortSite()
		{
			InitializeComponent();
		}

		public string IP
		{
			get { return textBoxIPAddress.Text; }
			set { textBoxIPAddress.Text = value; Invalidate(); }
		}
		public int Port
		{
			get { return Convert.ToInt32(textBoxPort.Text); }
			set { textBoxPort.Text = value.ToString(); Invalidate(); }
		}

		public byte SiteID
		{
			get { return Convert.ToByte(textBoxSite.Text); }
			set { textBoxSite.Text = value.ToString();Invalidate(); }
		}
	}
}
